//
//  HOfficialRankTableViewCell.m
//  Router
//
//  Created by Zhen Huang on 2018/6/29.
//  Copyright © 2018年 James. All rights reserved.
//

#import "HOfficialRankTableViewCell.h"

@implementation HOfficialRankTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self.contentView addSubview:self.NumberRowsLabel];
        [self.contentView addSubview:self.accountlabel];
        [self.contentView addSubview:self.outputLabel];
    }
    return self;
}
- (UILabel *)NumberRowsLabel {
    if (!_NumberRowsLabel) {
        _NumberRowsLabel = [[UILabel alloc]initWithFrame:CGRectMake(0, 10, ScreenWidth / 5, 20)];
        _NumberRowsLabel.textAlignment = 1;
        _NumberRowsLabel.textColor = [Networking colorWithHexString:@"#C3E5FF"];
        _NumberRowsLabel.font = [UIFont fontWithName:PingFangSCRegular size:12];
    }
    return _NumberRowsLabel;
}
- (UILabel *)accountlabel {
    if (!_accountlabel) {
        _accountlabel = [[UILabel alloc]initWithFrame:CGRectMake(self.NumberRowsLabel.right, 10, (ScreenWidth / 5 * 4) / 2 , 20)];
        _accountlabel.textAlignment = 1;
        _accountlabel.textColor = [Networking colorWithHexString:@"#C3E5FF"];
        _accountlabel.font = [UIFont fontWithName:PingFangSCRegular size:12];
    }
    return _accountlabel;
}
- (UILabel *)outputLabel {
    if (!_outputLabel) {
        _outputLabel = [[UILabel alloc]initWithFrame:CGRectMake(self.accountlabel.right, 10, (ScreenWidth / 5 * 4) / 2, 20)];
        _outputLabel.textAlignment = 1;
        _outputLabel.textColor = [Networking colorWithHexString:@"#C3E5FF"];
        _outputLabel.font = [UIFont fontWithName:PingFangSCRegular size:12];
    }
    return _outputLabel;
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
